package com.hbxs.folder.pojo.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author Radon Galleger
 * @ClassName: IdQuery
 * @Package com.hbxs.folder.pojo.query
 * @Description: TODO()
 * @date 2020/7/16 9:18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("id查询参数")
public class IdQuery {

    @NotBlank(message = "id不能为空")
    @ApiModelProperty(value="id")
    private String id;
}
